package cc.mrbird.febs.business.service;

import cc.mrbird.febs.business.domain.StoreFile;
import cc.mrbird.febs.common.domain.QueryRequest;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface StoreFileService extends IService<StoreFile> {

    IPage<StoreFile> findStoreFiles(StoreFile storeFile, QueryRequest request);

    StoreFile findByName(String commName);

    List<StoreFile> getStoreFilesByStoreId(String storeId);

    void createStoreFile(StoreFile storeFile);

    void deleteStoreFiles(String[] commIds) throws Exception;

    void updateStoreFile(StoreFile storeFile) throws Exception;
}
